export interface LoginForm {
  username: string
  password: string
  code: string
  noLogin: boolean
}

export interface RegisterForm {
  username: string
  nickname?: string
  code: string
}

export interface User{
  username: string
  nickname:string
  avatar:string
  _id: string
}

export interface LoginResponse {
  code: number;
  msg: string;
  token?: string;
  data?: User;
}